<template>
    <a-sub-menu>
        <template #title>
            <span>
                <SafetyOutlined />
                <span>组织管理</span>
            </span>
        </template>
        <a-menu-item key="/organization/company">
            <router-link to="/organization/company">
                <user-outlined />
                <span>公司管理</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/organization/department">
            <router-link to="/organization/department">
                <user-outlined />
                <span>部门管理</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/organization/staff">
            <router-link to="/organization/staff">
                <user-outlined />
                <span>人员管理</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/organization/role">
            <router-link to="/organization/role">
                <user-outlined />
                <span>角色管理</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/organization/rankClassify">
            <router-link to="/organization/rankClassify">
                <user-outlined />
                <span>职级分类管理</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/organization/rank">
            <router-link to="/organization/rank">
                <user-outlined />
                <span>职级管理</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/organization/positionCategory">
            <router-link to="/organization/positionCategory">
                <user-outlined />
                <span>岗位序列管理</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/organization/position">
            <router-link to="/organization/position">
                <user-outlined />
                <span>岗位管理</span>
            </router-link>
        </a-menu-item>
        <a-menu-item key="/organization/others">
            <router-link to="/organization/others">
                <user-outlined />
                <span>其他</span>
            </router-link>
        </a-menu-item>
    </a-sub-menu>
</template>

<script setup>
import {
    SafetyOutlined,
    UserOutlined,
    BranchesOutlined,
    UserAddOutlined
} from '@ant-design/icons-vue'
const props = defineProps({
    theme: {
        type: String,
        default: 'light'
    }
})
</script>